<%-- 
    Document   : checkbox
    Created on : 10-mei-2012, 9:34:18
    Author     : Niels Leguit <niels.leguit at hva.nl>
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@tag description="Boolean to Checkbox creator" pageEncoding="UTF-8"%>

<%-- The list of normal or fragment attributes can be specified here: --%>
<%@attribute name="checkbox" required="true"%>

<%-- any content can be specified here e.g.: --%>
<c:choose>
    <c:when test="${checkbox == true}">
        <img src="images/icons/16/102.png" alt="True" id="checkboxTrue" />
    </c:when>
    <c:otherwise>
        <img src="images/icons/16/101.png" alt="False" id="checkboxFalse" />
    </c:otherwise>
</c:choose>

